package com.xbongbong.pro.rabbitmq.producer;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.message.enums.PushTypeEnum;
import com.xbongbong.pro.message.pojo.dto.MessageRabbitMqDTO;
import com.xbongbong.pro.product.pojo.dto.AIMessageSendDTO;
import com.xbongbong.pro.product.pojo.dto.CostRecalculationDTO;

/**
 * @Description: AI消息发送生产者接口
 * @Author: jiping.yang
 * @Date: 2022-09-15  11:06
 * @version: v1.0
 **/
public interface AIProducer {

    /**
     * AI消息发送
     * @param message 入参
     * @throws XbbException
     * @date: 2022-9-15 10:45
     */
    void sendMessage(MessageRabbitMqDTO message, PushTypeEnum pushTypeEnum)throws XbbException;
}
